﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="1CReturns.aspx.cs" Inherits="ws_1C_1CReturns" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Реестр возвратов</title>
</head>
<body>
<form id="form1" runat="server">
<div>

<table>
<tr>
<td align="right" valign="top">
    с</td>
<td>
    <asp:Calendar ID="oDTFrom" runat="server" ondatabinding="oDTFrom_DataBinding" 
        onselectionchanged="oDTFrom_SelectionChanged" SelectedDate="2011-12-12">
    </asp:Calendar>
</td>
<td align="right" valign="top">
    по</td>
<td>
    <asp:Calendar ID="oDTTo" runat="server" ondatabinding="oDTTo_DataBinding" 
        onselectionchanged="oDTTo_SelectionChanged"></asp:Calendar>
</td>
<td align="left" valign="bottom">
    
    <table>
    <tr>
    <td>
        <asp:HyperLink ID="HyperLink1" 
            NavigateUrl="~/Reports/1C/1CReturns.aspx"
            Target="_blank"
            runat="server">Версия Для печати</asp:HyperLink>
    </td>
    </tr>
    <tr>
    <td colspan="2">
    <asp:Label width="235px" ID="lblInfo" runat="server" 
            Text="Нажмите кнопку Обновить." Font-Bold="True" ForeColor="#669900"></asp:Label>
    </td>
    </tr>

    <tr><td>
        <asp:CheckBox ID="checkKontragent" runat="server" Text="Контрагент" 
            AutoPostBack="True" oncheckedchanged="checkKontragent_CheckedChanged" />
        </td>
    <td>
        <asp:DropDownList ID="listKontragent" runat="server" Width="310px" 
            AutoPostBack="True" 
            onselectedindexchanged="listKontragent_SelectedIndexChanged">
        </asp:DropDownList>
    </td></tr>
        <tr><td>
            <asp:CheckBox ID="checkSklad" runat="server" Text="Склад" AutoPostBack="True" 
                oncheckedchanged="checkSklad_CheckedChanged" />
            </td>
    <td>
        <asp:DropDownList ID="listSklad" runat="server" Width="310px" 
            AutoPostBack="True" onselectedindexchanged="listSklad_SelectedIndexChanged">
        </asp:DropDownList>
    </td>
    </tr>
        
    </table>
    
    <asp:Button ID="btnRefresh" runat="server" onclick="btnRefresh_Click" 
        Text="Обновить" />
    </td>
</tr>

<tr>
<td colspan="5">
    <asp:GridView ID="gv" runat="server" CellPadding="4" 
        EnableModelValidation="True" ForeColor="#333333" GridLines="None" 
        ondatabinding="gv_DataBinding" onrowdatabound="gv_RowDataBound">
        <AlternatingRowStyle BackColor="White" />
        <EditRowStyle BackColor="#2461BF" />
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#EFF3FB" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
    </asp:GridView>
</td>
</tr>

</table>    


</div>
</form>
</body>
</html>
